開大燈
(25 actions, 15 KB)
0 Dismiss Siri and Continue
1 Run Shortcut
isHome?
»
Workflow
:
{ "workflowIdentifier": "9467C0DA-DE52-420E-A6AA-3A5D65C4310E", "workflowName": "isHome?", "isSelf": false }
2 If
[1 Shortcut Result
as Boolean
]
is true
3 If
[DeviceDetails
’s OS
]
is
macOS
4 Open App
com.tplink.tapo
SelectedApp
:
{ "BundleIdentifier": "com.tplink.tapo", "Name": "Tapo", "TeamIdentifier": "5Q6S22W72F" }
5 Find Windows
Library
»
ContentItemLimitEnabled
:
true
ContentItemLimitNumber
:
1
ContentItemFilter
:
App Name is Tapo
6 Move Window
[5 Windows]
to Center
7 End If
8 ToolboxProForShortcuts > IsTheSunUpIntent »
location
:
{ "isCurrentLocation": true }
9 If
[8 Is the sun up
as Boolean
]
is true
10 Comment
Default State
11 tapo > TapoDeviceToggleIntent
devices
:
{ "identifier": "b8d9fccb6b0ba4f95b81d5ea1256a372", "displayString": "My Smart Bulb" }
state
:
on
ShowWhenRun
:
false
12 Otherwise
13 Number
90
➔ Brightness
»
16
18
14 Get Current Focus »
15 If
[14 Current Focus
’s Name
]
is
ConditionalActionString
#MakerMode
Date
[? 08:00 AM]
16 tapo > TapoBulbColorSetIntent
color
:
temp_warm_white
brightness
:
[13 Brightness]
devices
:
{ "identifier": "b8d9fccb6b0ba4f95b81d5ea1256a372", "displayString": "My Smart Bulb" }
ShowWhenRun
:
false
17 Otherwise
18 tapo > TapoBulbColorSetIntent
color
:
red
brightness
:
[13 Brightness]
devices
:
{ "identifier": "b8d9fccb6b0ba4f95b81d5ea1256a372", "displayString": "My Smart Bulb" }
ShowWhenRun
:
false
19 End If
20 End If ▵
12
21 If
[DeviceDetails
’s OS
]
is
macOS
22 Hide App
App
:
{ "BundleIdentifier": "com.tplink.tapo", "Name": "Tapo", "TeamIdentifier": "5Q6S22W72F" }
23 End If
24 End If ▵
2